package com.bnz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bnz.pojo.PageResult;
import com.bnz.pojo.Student;

import java.util.List;

public interface StudentService extends IService<Student> {
    List<Student> findAll();

    PageResult<Student> findPyPage(Integer page, Integer pageSize);

    PageResult<Student> search(Integer page, Integer pageSize, Student student);

    void add(Student student);

    void update(Student student);

    void delete(String[] id);
}
